<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
</head>
<body>
<h1>登录</h1>
<form action="${pageContext.request.contextPath}/login" method="post">
    <span>用户名：</span><input type="text" name="uname"><br/>
    <span>密&emsp;码：</span><input type="password" name="upwd"><br>
    <sapn>爱好</sapn>
    <input id="check1" type="checkbox" name="hobby" value="编程"><label for="check1">编程</label>
    <input id="check2" type="checkbox" name="hobby" value="听音乐"><label for="check2">听音乐</label>
    <input id="check3" type="checkbox" name="hobby" value="看电影"><label for="check3">看电影</label>
    <input id="check4" type="checkbox" name="hobby" value="看书"><label for="check4">看书</label>
    <input id="check5" type="checkbox" name="hobby" value="绘画"><label for="check5">绘画</label>
    <br>
    <input type="submit">
</form>

</body>
</html>
